interface UserArr {
    [index: number]: string;
}

var arr: UserArr = ["html", "css", "js"];

var arr1: string[];
var arr2: Array<string>;